package com.ruoyi.system.domain.quality;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 质量质检项目维护对象 quality_defect_project
 *
 * @author ruoyi
 * @date 2023-03-08
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("quality_defect_project")
public class QualityDefectProject implements Serializable {

private static final long serialVersionUID=1L;


        /** 检验项目编码 */
        @Excel(name = "检验项目编码")
        @ApiModelProperty(value = "检验项目编码")
        private String code;

        /** 检验项目名称 */
        @Excel(name = "检验项目名称")
        @ApiModelProperty(value = "检验项目名称")
        private String name;

        /** 检验类别id */
        @Excel(name = "检验类别code")
        @ApiModelProperty(value = "检验类别code")
        private Integer checkTypeId;

        @Excel(name = "检验类别名称")
        @ApiModelProperty(value = "检验类别名称")
        @TableField(exist = false)
        private String checkTypeName;

        /** id */
        @TableId(value = "id")
        @ApiModelProperty(value = "id")
        private Long id;


        /** 级别 */
        @Excel(name = "级别")
        @ApiModelProperty(value = "级别")
        private Long del;

        /** 数据类型 1定性   2定量 */
        @Excel(name = "数据类型 1定性   2定量")
        @ApiModelProperty(value = "数据类型 1定性   2定量")
        private Long dataType;

        /** 单位 */
        @Excel(name = "单位")
        @ApiModelProperty(value = "单位")
        private String unit;
}
